<template>
  <div class="bg-white pagination">
    <a-pagination v-model:current="current" :total="500" :showSizeChanger="false" :showTotal="total => `显示条目1-9 共${total}`"/>
  </div>
</template>

<script setup>
const current = ref(6);
</script>

<style lang="scss" scoped>
.pagination{
  margin: 0 auto;
  padding: 30px;
  width: 800px;
  background: lightblue;
}
</style>